﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace SmartBot
{
    /// <summary>
    /// Dữ liệu chung cho người chơi chính, người chơi xung quanh, NPC, quái, ...
    /// </summary>
    public abstract class StandardNPC : AllEnums
    {
        

        //Personal information
        public string Name = "";
        public uint HexID = 0x00000000;
        public NPCStates State = NPCStates.IDLE;

        public bool IsAttackable = false;
        public NPCTypes NPCType = NPCTypes.NPC;

        //Location information
        public uint MapID { get; set; }
        public float PosX { get; set; }
        public float PosY { get; set; }
        public float ToPosX { get; set; }
        public float ToPosY { get; set; }
        
        //Target
        public uint TargetID = 0xFFFFFFFF;

        //Health information
        public int HP { get; set; }
        public int MaxHP { get; set; }
        public double HPPercent { get; set; }
        public int MP { get; set; }
        public int MaxMP { get; set; }
        public double MPPercent { get; set; }
        public int Rage { get; set; }
        public int MaxRage { get; set; }
        public double RagePercent { get; set; }
        public bool IsDead { get; set; }


    }
}
